package org.lgl.goods.api;

import org.lgl.common.result.Result;
import org.lgl.goods.model.TestVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;


/**
 * feign
 * @author Admin
 */
@FeignClient(value = "test")
@RequestMapping("/goods")
public interface TestApi {

    /**
     * testGet
     * @param id
     * @return TestVO
     */
    @GetMapping("/testGet/{id}")
    Result<TestVO> testGet(@PathVariable("id") Long id);

}
